package com.example.demo1109.demo5;

public class User implements UserInterface{
    public String name;

    public User(String name) {
        this.name = name;
    }

    @Override
    public void getMsg(String msg) {
        System.out.println(name+"接受的信息="+msg);
    }
}
